package po;

import java.util.Date;

public class User {
    private int UserId;
    private String LoginName;
    private String LoginPwd;

    public User() {
    }

    public User(int userId, String loginName, String loginPwd) {
        UserId = userId;
        LoginName = loginName;
        LoginPwd = loginPwd;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int userId) {
        UserId = userId;
    }

    public String getLoginName() {
        return LoginName;
    }

    public void setLoginName(String loginName) {
        LoginName = loginName;
    }

    public String getLoginPwd() {
        return LoginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        LoginPwd = loginPwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "UserId=" + UserId +
                ", LoginName='" + LoginName + '\'' +
                ", LoginPwd='" + LoginPwd + '\'' +
                '}';
    }
}